<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>添加新设备</title>
    <link rel="stylesheet" href="{{ url_for('static',filename='CSS/bootstrap.min.css') }}">
    <link rel="stylesheet" href="{{ url_for('static',filename='CSS/admin.css') }}">
    <script src="{{ url_for('static',filename='JS/jquery-3.5.1.js') }}"></script>
    <script src="{{ url_for('static',filename='JS/admin.js') }}"></script>
</head>
<body>
<div class="dev_info">
    <form class="form-horizontal" role="form" action="" method="post">

    <div class="form-group">
        <label for="serialnumber" class="col-sm-4 control-label">序列号</label>
        <div class="col-sm-4">
            <input type="text" class="form-control" autocomplete="off" placeholder="序列号" name="serialnumber" id="serialnumber" required />
        </div>
    </div>

    <div class="form-group">
        <label for="model" class="col-sm-4 control-label">型号</label>
        <div class="col-sm-4">
            <input type="text" class="form-control" autocomplete="off" placeholder="型号 如:KunTai R722" name="model" id="model" />
        </div>
    </div>

    <div class="form-group">
        <label for="cpu_model" class="col-sm-4 control-label">CPU型号</label>
        <div class="col-sm-4">
            <input type="text" class="form-control" autocomplete="off" placeholder="CPU型号" name="cpu_model" id="cpu_model"/>
        </div>
    </div>

    <div class="form-group">
        <label for="cpu_cores" class="col-sm-4 control-label">CPU核数</label>
        <div class="col-sm-4">
            <input type="text" class="form-control" autocomplete="off" placeholder="CPU核数 如：2*64core" name="cpu_cores" id="cpu_cores"/>
        </div>
    </div>

    <div class="form-group">
        <label for="bmc_address" class="col-sm-4 control-label">BMC地址</label>
        <div class="col-sm-4">
            <input type="text" class="form-control" autocomplete="off" placeholder="BMC地址" name="bmc_address" id="bmc_address"/>
        </div>
    </div>

    <div class="form-group">
        <label for="purpose" class="col-sm-4 control-label">用途</label>
        <div class="col-sm-4">
            <input type="text" class="form-control" autocomplete="off" placeholder="用途" name="purpose" id="purpose"/>
        </div>
    </div>

    <div class="form-group">
        <label for="owner" class="col-sm-4 control-label">使用者</label>
        <div class="col-sm-4">
            <input type="text" class="form-control" autocomplete="off" placeholder="使用者" name="owner" id="owner"/>
        </div>
     </div>

    <div class="form-group">
        <label for="others" class="col-sm-4 control-label">备注</label>
        <div class="col-sm-4">
            <textarea class="form-control" rows="3" name="others" id="others"></textarea>
        </div>
     </div>

    <div class="form-group">
        <div class="col-sm-offset-4 col-sm-4">
            <input type="button" class="btn btn-success" id="add_confirm" name="add_confirm" value="确认" />
            <input type="button" class="btn btn-default" id="back" name="back" value="返回" />
        </div>
     </div>
</form>
</div>
</body>
</html>